package com.business.system.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.business.system.pojo.BaseDataLibary;
import com.utility.Page;

public interface BaseDataLibaryMapper {
	public int insert(BaseDataLibary entity) throws RuntimeException;

	public int update(BaseDataLibary entity) throws RuntimeException;

	public int delete(int id) throws RuntimeException;

	public List<BaseDataLibary> selectAll(@Param(value = "type") int type)
			throws RuntimeException;

	public BaseDataLibary findById(int id) throws RuntimeException;

	public List<BaseDataLibary> findListPage(Page<BaseDataLibary> page)
			throws RuntimeException;

}
